cody - HTMLify profile

cody
4270 Files
633459 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/20 - Levitate Board
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
@font-face {
font-family: "sans";
padding: 0;
margin: 0;
box-sizing: border-box;
}
@font-face {
font-family: "sans";
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="assets/levitation.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="assets/levitation.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
const container = document.getElementById('container');
const colors = ['#e74c3c', '#8e44ad', '#3498db', '#e67e22', '#2ecc71','#f2e335', '#ef4a92']
const SQUARES_NR = 300;
for(let i=0; i<SQUARES_NR; i++) {
const square = document.createElement('div');
square.classList.add('square');
const colors = ['#e74c3c', '#8e44ad', '#3498db', '#e67e22', '#2ecc71','#f2e335', '#ef4a92']
const SQUARES_NR = 300;
for(let i=0; i<SQUARES_NR; i++) {
const square = document.createElement('div');
square.classList.add('square');